package com.naiterui.ehp.bs.pharmacist.service;

import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.pharmacist.utils.PhTencentCloudSdkUtil.FaceSyncVO;
import com.naiterui.ehp.bs.pharmacist.vo.user.TencentFaceIdVO;

/**
 * @author guoyongxiang
 * @date 2019/10/18 20:10
 * @since 1.0.0
 */
public interface ITencentDetectService {

    /**
     * SDK-初始化人脸识别参数
     *
     * @param userId
     * @return
     */
    TencentFaceIdVO getFaceId(Long userId) throws BusinessException;

    /**
     * SDK-初始化人脸识别参数
     *
     * @param phone
     * @param cardNo
     * @return
     * @throws BusinessException
     */
    TencentFaceIdVO getFaceId(String phone, String cardNo) throws BusinessException;

    /**
     * SDK-查询人脸识别结果
     *
     * @param userId
     * @return
     */
    FaceSyncVO getFaceSync(Long userId) throws BusinessException;

}
